package top.lyunz.fangkeji.mapper;

import java.util.List;

import top.lyunz.fangkeji.bean.AppointmentRecord;

public interface AppointmentRecordMapper {
	AppointmentRecord getAppointmentRecordByapId(int apId);

	AppointmentRecord getAppointmentRecordByApIdentity(String apIdentity);

	int addAppointmentRecord(AppointmentRecord appointmentRecord);

	int updAppointmentRecord(AppointmentRecord appointmentRecord);

	List<AppointmentRecord> getUnreviewedAppointmentRecord(int uid);

	List<AppointmentRecord> getcompletedAppointmentRecord(int uid);

	List<AppointmentRecord> getallAppointmentRecord(int uid);
	List<AppointmentRecord> getviAppointmentRecord(int uid);
	List<AppointmentRecord> getAppointmentsbyapTel(String apTel);
}
